package com.yidu.news.service;

import com.yidu.news.mapper.ManagePayinMapper;
import com.yidu.news.pojo.ManagePayin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author ：liandyao
 * @description：TODO
 * @date ：2020/4/29 13:07
 */
@Service
public class ManagerPayinServiceImpl implements ManagerPayinService {

    /**
     * @Controller
     * @Service
     * @Repository
     *
     *
     */

    @Autowired
    ManagePayinMapper managePayinMapper;


    /**
     * 查询所有
     * @return
     */
    public List<ManagePayin> findAll() {
        List<ManagePayin> list =  managePayinMapper.selectAll();
        return list;
    }
}
